export default {
    data: {
        title: "hello",
        myData:[{"imgSrc":"/common/icon/home.png","title":"开发板",imgSrcActive:"/common/icon/home-active.png"},
                {"imgSrc":"/common/icon/box.png","title":"实验箱",imgSrcActive:"/common/icon/box-active.png"},
                {"imgSrc":"/common/icon/video.png","title":"视频",imgSrcActive:"/common/icon/video-active.png"},
                {"imgSrc":"/common/icon/my.png","title":"我的",imgSrcActive:"/common/icon/my-active.png"}
        ],
        defaultIndex:0
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    itemClick(clickIndex){
        this.defaultIndex = clickIndex;
    }
}



